<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户列表</title>
</head>
<body>
    <a href="/pwd/add/">添加密码</a>
    <a href="/tag/main/">分类管理</a>
    <table border="1">
        <thead>
                <tr>
                    <th>ID</th>
                    <th>密码分类</th>
                    <th>title</th>
                    <th>accounts</th>
                    <th>password</th>
                    <th>telphone</th>
                    <th>email</th>
                    <th>修改</th>
                    <th>删除</th>
                </tr>
        </thead>
        <tbody>
            {% for user in users %}
            <tr>
                <td>{{user[0]}}</td>
                <td><a href="/tag/pwd/?id={{user[1]}}">{{user[1]}}</a></td>
                <td>{{user[2]}}</td>
                <td>{{user[3]}}</td>
                <td>{{user[4]}}</td>
                <td>{{user[5]}}</td>
                <td>{{user[6]}}</td>
                <td><a href="/update_pass/?id={{user[0]}}" >修改密码</a></td>
                <td><a href="/delete_pwd/?id={{user[0]}}">删除密码</a></td>
            </tr>
            {% endfor %}
        </tbody>
    </table>
</body>
</html>